package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.DesignerProjectItemsProduct;
import com.ecoolex.ying.space.entity.DesignerProjectItemsProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DesignerProjectItemsProductMapper {
    long countByExample(DesignerProjectItemsProductExample example);

    int deleteByExample(DesignerProjectItemsProductExample example);

    int deleteByPrimaryKey(Integer itemsProductId);

    int insert(DesignerProjectItemsProduct record);

    int insertSelective(@Param("record") DesignerProjectItemsProduct record, @Param("selective") DesignerProjectItemsProduct.Column ... selective);

    DesignerProjectItemsProduct selectOneByExample(DesignerProjectItemsProductExample example);

    List<DesignerProjectItemsProduct> selectByExample(DesignerProjectItemsProductExample example);

    DesignerProjectItemsProduct selectByPrimaryKey(Integer itemsProductId);

    DesignerProjectItemsProduct selectByPrimaryKeyWithLogicalDelete(@Param("itemsProductId") Integer itemsProductId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DesignerProjectItemsProduct record, @Param("example") DesignerProjectItemsProductExample example, @Param("selective") DesignerProjectItemsProduct.Column ... selective);

    int updateByExample(@Param("record") DesignerProjectItemsProduct record, @Param("example") DesignerProjectItemsProductExample example);

    int updateByPrimaryKeySelective(@Param("record") DesignerProjectItemsProduct record, @Param("selective") DesignerProjectItemsProduct.Column ... selective);

    int updateByPrimaryKey(DesignerProjectItemsProduct record);

    int batchInsert(@Param("list") List<DesignerProjectItemsProduct> list);

    int batchInsertSelective(@Param("list") List<DesignerProjectItemsProduct> list, @Param("selective") DesignerProjectItemsProduct.Column ... selective);

    int logicalDeleteByExample(@Param("example") DesignerProjectItemsProductExample example);

    int logicalDeleteByPrimaryKey(Integer itemsProductId);
}